package com.example.yuejianapp14.Activity.Servics;

import com.example.yuejianapp14.Activity.JavaBean.Coach;
import com.example.yuejianapp14.Activity.JavaBean.Coachask;
import com.example.yuejianapp14.Activity.JavaBean.class1;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by jason_lin on 2017/9/28.
 */

public interface CoachService {
    @GET("allCoach")
    Call<List<Coach>> getCoach();

    @GET("findCoach")
    Call<List<Coach>> findCoach(
            @Query("clubid")String clubid
    );

    @GET("coachinfo")
    Call<Coach> coachinfo(
            @Query("coachid")String coachid
    );

    @GET("coachask")
    Call<List<Coachask>> coachask(
            @Query("askid")String askid
    );


}
